import axiosInstance from './axiosInstance'
import type { UserInfo } from '@/types/api'

export const getUserInfo = (): Promise<UserInfo> => {
  return axiosInstance.get('/user/info')
}
